<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>CPU Math</title>
<link rel="stylesheet" type="text/css" href="office10.css">
</head>
<body>
<h1>CPU Math</h1>
<p>This test uses matrices (integer and floating point) and performs math operations (add, subtract, multiply, divide, modulo) on the members. For example, on a matrix of [1 6 3 2 6 3 3 6 3] we perform division by [2 1 2 2 3 2 2 1 2]. The resulting matrix is either integer or floating point, depending on the result of a modulo 2 operation (i.e. proportions of integer and floating point matrices are 50-50). The matrices are large (i.e. at least 128x128), populated with random integers from 1 to 10. One thread is used for each logical CPU. This way we also test multiple threading performance. Results are checked against a set of predefined matrices, to perform a logical comparison benchmark. The predefined matrices need not reflect actual results. Each thread runs in a loop for the duration of the test. There may be overlap between the threads. What we are interested in is the total number of operations performed, divided by the actual duration of the test (i.e. the time it takes for all threads to complete).</p>
</body>
</html>